			</div>

</main>

          <footer id="page-footer" class="content-mini content-mini-full font-s12 bg-gray-lighter clearfix">
                <div class="pull-right xright">
                    {if empty($_W['setting']['copyright']['footerleft'])}Powered by <a class="font-w600" href="http://www.we7.cc" target="_blank">微擎</a> v{IMS_VERSION} &copy; 2014-2015 <a href="http://www.we7.cc">www.we7.cc</a>{else}{$_W['setting']['copyright']['footerleft']}{/if}
                </div>
                <div class="pull-left xleft">
                    {if empty($_W['setting']['copyright']['footerright'])}<a href="http://www.we7.cc">关于微擎</a>&nbsp;&nbsp;<a href="http://bbs.we7.cc">微擎论坛</a>&nbsp;&nbsp;<a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzkzODAwMzEzOV8xNzEwOTZfNDAwMDgyODUwMl8yXw">联系客服</a>{else}{$_W['setting']['copyright']['footerright']}{/if}{if !empty($_W['setting']['copyright']['statcode'])}&nbsp; &nbsp; {$_W['setting']['copyright']['statcode']}{/if}
                </div>
            </footer>
{if !empty($_W['setting']['copyright']['statcode'])}{$_W['setting']['copyright']['statcode']}{/if}
        </div>
		<script type="text/javascript">
			require(['bootstrap']);
			{if $_W['isfounder'] && !defined('IN_MESSAGE')}
			function checkupgrade() {
				require(['util'], function(util) {
					if (util.cookie.get('checkupgrade_sys')) {
						return;
					}
					$.getJSON("{url 'utility/checkupgrade/system'}", function(ret){
						if (ret && ret.message && ret.message.upgrade == '1') {
							$('body').prepend('<div class="col-sm-6 col-lg-3" id="upgrade-tips" style="bottom: 60px;right:0;z-index: 99999;float: none;font-weight: bold;position: absolute;"><div class="alert alert-info alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><h3 class="push-15">系统有更新！</h3><p><a href="./index.php?c=cloud&a=upgrade&">系统检测到新版本 '+ret.message.version+' ('+ ret.message.release +') ，请尽快更新！</a></p></div></div>');

						}
					});
				});
			}

			function checkupgrade_hide() {
				require(['util'], function(util) {
					util.cookie.set('checkupgrade_sys', 1, 3600);
					$('#upgrade-tips').hide();
				});
			}
			$(function(){
				checkupgrade();
			});
			{/if}

            {if $_W['uid']}
                function checknotice() {
                    $.post("{php echo url('utility/notice')}", {}, function(data){
                        var data = $.parseJSON(data);
                        $('#notice-container').html(data.notices);
                        $('#notice-total').html(data.total);

                        setTimeout(checknotice, 60000);
                    });
                }
                checknotice();
            {/if}
		</script>



<script src="./resource/qincewang/js/commonp.js"></script>
 </body>
</html>